package com.sgb.kjwl.view.ui.activity;

import android.content.Context;
import android.content.Intent;
import android.view.View;

import com.sgb.capital.base.BaseActivity;
import com.sgb.kjwl.R;
import com.sgb.link.view.widget.ActionBarRed;

public class EmptyNullActivity extends BaseActivity {
    @Override
    protected void initView() {
        setContentView(R.layout.activity_emptyview);
    }


    @Override
    public void initData() {
        super.initData();
        ActionBarRed view = findViewById(R.id.action_bar);
        view.setTitle(getIntent().getStringExtra("data"));
        view.setOnBackClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }

    @Override
    public void onPointerCaptureChanged(boolean hasCapture) {

    }

    public static void statractivity(Context mContext,String title){

        Intent mIntent = new Intent(mContext,EmptyNullActivity.class);
        mIntent.putExtra("data",title);
        mContext.startActivity(mIntent);

    }
}
